home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 002 / alltext.arc / TPMACH2.TXT < prev   
Encoding:
Text File  |  1987-07-20  |  6.2 KB  |  169 lines

  1.                                  Mach 2
  2.           
  3.                          (Turbo Pascal Version)
  4.  
  5.  
  6.                  Performance Toolkit for the Programmer
  7.  
  8.                      (Demonstration disk available)
  9.  
  10.  
  11.                               Published by
  12.                
  13.                     MicroHelp, Inc.
  14.                 2220 Carlyle Dr.
  15.                   Marietta GA 30062-5841
  16.               (404) 973-9272  (800) 922-3383
  17.  
  18.  
  19. There are more than 90 "include" files in the package, most of are written
  20. in assembly language. No knowledge of assembly language is needed, nor is
  21. an assembler program required in order to use Mach 2.
  22.  
  23. This version of Mach 2 is compatible with Turbo Pascal 3.x. Versions are also
  24. available for Turbo Basic and Microsoft/IBM Compiled BASIC.
  25.  
  26. All of the video related routines allow you to select the monitor to use
  27. (including Multilink video segments) and you can specify if snow checking
  28. is necessary on a color monitor.
  29.  
  30. All file/device and directory related routines return true DOS error codes
  31. without your having to use Turbo's error handling. In addition to
  32. eliminating the dreaded "A)bort, R)etry or I)gnore", this can save
  33. substantial amounts of program code.
  34.  
  35. All source code is included - both assembly and Turbo Pascal.
  36.  
  37. The indexed manual provides all the necessary instructions and
  38. there is a small, sample program for each subroutine.
  39.  
  40. The window management system in this product must be seen to be appreciated.
  41. We won't list the individual routines that are used for windows - suffice it
  42. to say that there is very little you cannot do. Included are routines to:
  43.  
  44.     Make a window (with or without a box - 4 different box types)
  45.     Display a non-displayed window
  46.     Draw a window with an "exploding" box
  47.     Kill a window
  48.     Redisplay a "hidden" window, making it the current window
  49.     Move a window
  50.     Remove a window from the screen
  51.     Change a window's size
  52.     Write a string within a window
  53.  
  54. The routines (other than the windowing routines) included in Mach 2 are:
  55.  
  56.                        Video Display Routines
  57.                        ----------------------
  58.  
  59.     Mh_ClrWindow    Clear part of screen
  60.     Mh_DrawBox    Draw a box on screen
  61.     Mh_MoveFromVideo  Save a portion of the screen
  62.     Mh_MoveToVideo    Restore a portion of the screen
  63.     Mh_MoveVideo    Move a portion of the screen
  64.     Mh_PutAttr    Change color attributes without redisplaying text
  65.     Mh_PutCh    Display a character instantly
  66.     Mh_PutCStr    Display string constant instantly
  67.     Mh_PutStr    Display a string variable instantly
  68.     Mh_PutVCh    Display characters vertically
  69.     Mh_ReadScr    Read string from the screen instantly
  70.     Mh_ScreenIn    Restore entire screen
  71.     Mh_ScreenOut    Save entire screen
  72.     Mh_Scroll    Scroll portion of the screen in any direction
  73.     Mh_VideoMove    Move data to/from screen
  74.     Mh_WBigCh    Large character set (5 lines by 4 columns)
  75.     Mh_WPutStr    Write string in window
  76.  
  77.                      File and Device Routines
  78.                      ------------------------
  79.              
  80.     Mh_Append    Set an opened file for append status
  81.     Mh_Attr        Get or set a file's attributes
  82.     Mh_Checkerror    Low level and/or critical DOS errors
  83.     Mh_Close    Close a file/device
  84.     Mh_Dir        Mkdir, Rmdir, Chdir
  85.     Mh_Erase    Erase a file
  86.     Mh_Execute    Execute a program, command or batch file
  87.     Mh_Exist    Test for file existence without opening file
  88.     Mh_FileSize    Get a file's size
  89.     Mh_Find        Find first/next matching file
  90.     Mh_Flush    Update directory information
  91.     Mh_GetDir    Get current directory
  92.     Mh_GetDrive    Get default drive
  93.     Mh_Getfdate    Get a file's date and time
  94.     Mh_Ioresult    Return/clear critical errors
  95.     Mh_Open        Open/create file/device
  96.     Mh_ParsePath    Parse user path
  97.     Mh_Read        Read from file/device
  98.     Mh_ReaddFileDir    Read the file directory (any drive/path)
  99.     Mh_Rename    Rename a file
  100.     Mh_SearchPath    Search DOS path for file
  101.     Mh_Seek        Move file read/write pointer
  102.     Mh_Setfdate    Set a file's date and time
  103.     Mh_Write    Write to file/device
  104.  
  105.              String Handling Routines
  106.              ------------------------
  107.              
  108.     Mh_CmpStr    Compare two strings. Returns <, > and =
  109.     Mh_Lcase    Convert a string to lower case
  110.     Mh_Left        Pad or truncate a string to n leftmost characters
  111.     Mh_LeftJust    Left justify a string
  112.     Mh_RepStr    Make a string of repeated characters
  113.     Mh_Right    Insert spaces/truncate a string
  114.     Mh_RightJust    Right justify a string
  115.     Mh_Rlb        Remove leading spaces
  116.     Mh_Rtb        Remove trailing spaces
  117.     Mh_Sndx        Convert string to SOUNDEX code
  118.     Mh_Strip    Replace characters in a string
  119.     Mh_StrSearch    Find string in memory
  120.     Mh_Trim        Remove leading and trailing spaces
  121.     Mh_UCase    Convert a string to upper case
  122.  
  123.                      Numeric Routines
  124.                  ----------------
  125.  
  126.     Mh_Pu        Formatted output - real (like BASIC's PRINT USING)
  127.     Mh_Pu2        Formatted output - string (like BASIC's PRINT USING)
  128.     Mh_Round    Round a number
  129.  
  130.                           User Interface
  131.                           --------------
  132.  
  133.     Mh_Affirmative    Wait for and return a 'Y' or 'N' response
  134.     Mh_Beep        Sound the speaker
  135.     Mh_CBreakInit    Install ^C/^Break routine (Int $1B)
  136.     Mh_CBreakReset    Restore original ^C/^Break routine
  137.     Mh_CCInit    Install ^C Handler (Int $23)
  138.     Mh_CCReset    Restore original ^C Handler
  139.     Mh_Choose    Choose from valid list of characters
  140.     Mh_Cursor    Set the cursor size
  141.     Mh_GetKey    Get next keystroke
  142.     Mh_GetKs    Get next keystroke and shift status
  143.     Mh_GetShift    Get shift status
  144.     Mh_HorizMenu    Display horizontal menu (like Lotus 1-2-3)
  145.     Mh_InputStr    Controlled input - uses standard edit keys and optionally ignores ^C/Break
  146.     Mh_KClr        Clear keyboard buffer/return key
  147.     Mh_KClr2    Clear keyboard buffer/return key and shift status
  148.     Mh_PikDir    Full screen file selection
  149.     Mh_VertMenu    Choose from a vertical bar menu
  150.  
  151.                           Array Handling
  152.               --------------
  153.  
  154.     Mh_BinSearch    Binary search routine for sorted arrays
  155.     Mh_QSort    Sort an array (Quick Sort method)
  156.  
  157.                           Miscellaneous
  158.                           -------------
  159.      
  160.     Mh_24Init    Installs critical error handler
  161.     Mh_24Reset    Restores original critical error handler
  162.     Mh_DosVersion    Get the DOS version
  163.     Mh_GetEnvironStr Return a string from the environment
  164.     Mh_GetInt    Get interrupt vector address
  165.     Mh_LongJump    Jump to a far address
  166.     Mh_Scan        Scan memory for a character
  167.     Mh_SetInt    Set interrupt address
  168.     Mh_SetJump    Set long jump address
  169.